#ifndef WORKDIALOG_H
#define WORKDIALOG_H

#include <QDialog>
#include <QtSql>
#include<QString>
namespace Ui {
class workDialog;
}

class workDialog : public QDialog
{
    Q_OBJECT

public:
    explicit workDialog(QWidget *parent = 0);
    ~workDialog();

private:
    Ui::workDialog *ui;
    QSqlDatabase db;
    QString ID;
private slots:
    void react();
    void reciveID(QString);
};

#endif // WORKDIALOG_H
